package com.zero.zevent
{
	import flash.events.Event;
	import flash.events.EventDispatcher;
	
	public class LoaderEvent extends Event
	{
		public var loader:EventDispatcher;

		public static const COMPLETE:String = "complete";
		public static const LOAD_ERROR:String = "loadError";
		public static const PROGRESS:String = "progress";
		
		public function LoaderEvent(type:String, $loader:EventDispatcher, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.loader = $loader;
		}
	}
}